import request from '@/utils/axios'

// 获取项目列表
export function getProList(type, options = {}) {
  const {
    pageSize = 10000,
    pageNow = 0
  } = options
  return request({
    url: `/admin/${type}`,
    method: 'get',
    params: {
      pageSize,
      pageNow
    }
  })
}
// 获取封面图
export function getBg() {
  return request({
    url: `/home`,
    method: 'get'
  })
}
